package Book;

public class Book {
	private String ISBN;
	private String bookName;
	private String author;
	private String publisher;
	private double price;
	
	public Book() {
		
	}
	public Book(String ISBN, String bookName, String author, String pulisher, double price) {
		this.ISBN = ISBN;
		this.bookName = bookName;
		this.author = author;
		this.price = price;
		this.publisher = pulisher;
	}
	

	//get、set方法
	public String getISBN() {
		return ISBN;
	}
	public void setISBN(String iSBN) {
		ISBN = iSBN;
	}
	public String getBookName() {
		return bookName;
	}
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getPublisher() {
		return publisher;
	}
	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String toString() {
		return "Book{" + 
				"编号：'" + ISBN + '\'' +
				", 书名：'" + bookName + '\'' +
				", 作者：'" + author + '\'' + 
				", 出版社：'" + publisher + '\'' +
				", 价格：" + price + '\'' + '}';
	}
}